<?php
namespace Users\Model;

class Forgetpassword
{
	public $forget_pwd_id;
	public $user_id;
	public $email;
	public $token_id;
	public $status;
	
	public function exchangeArray($data)
	{
		$this->forget_pwd_id	= (isset($data['forget_pwd_id']))  ? $data['forget_pwd_id']    : null;
        $this->user_id 			= (isset($data['user_id'])) 	   ? $data['user_id'] 		   : null;
        $this->email  			= (isset($data['email']))  		   ? $data['email']  		   : null;
		$this->token_id  		= (isset($data['token_id']))  	   ? $data['token_id']  	   : null;
		$this->status			= (isset($data['status']))		   ? $data['status']     	   : null;        
	}
	// Add the following method:
	public function getArrayCopy()
	{
		return get_object_vars($this);
	}

}